package ee.tallink.common.core;

import java.sql.Date;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

import ee.tallink.common.db.Field;
import ee.tallink.common.resource.Resource;

@XmlRootElement(name = "order")
@XmlAccessorType(XmlAccessType.FIELD)
public class Order extends Resource {

	public @Field Room roomsId;

	@XmlElement(name = "managerId")
	public @Field Account managerId;

	@XmlElement(name = "reservationStart")
	public @Field Date reservationStart;

	@XmlElement(name = "reservationEnd")
	public @Field Date reservationEnd;


}
